<%@ include file="/common/taglibs.jsp"%>

<title><fmt:message key="systemVersionDetail.title" />
</title>
<spring:bind path="systemVersion.*">
    <c:if test="${not empty status.errorMessages}">
        <div class="error">
            <c:forEach var="error" items="${status.errorMessages}">
                <img src="<c:url value="/images/iconWarning.gif"/>" alt="<fmt:message key="icon.warning"/>" class="icon" />${error}<br />
            </c:forEach>
        </div>
    </c:if>
</spring:bind>

<form class="mainForm" method="post" action="<c:url value="/system/editSystemVersion.html"/>" id="systemVersion">

    <input type="hidden" name="version" value="${systemVersion.version}" />
    <input type="hidden" name="id" value="${systemVersion.id}" />
    <content tag="buttons">
    <ul>
        <li>
            <probiz:probizBtn btnType="save" onclick="doSave_old()" />
        </li>
        <li>
            <probiz:iconBtn btnType="back" onclick="location.href='${ctxPath}/system/systemVersions.html;return false;'" />
        </li>
    </ul>
    </content>
    <div class="clear"></div>
    <div class="box-content-wrap">
        <div class="box-content">
            <div class="top">
            </div>
            <div class="content">
                <table class="com_modi_table" cellSpacing=0 cellPadding=0 width="100%" border=0>
                	<%--  
	                    <tr>
	                        <th width="23%">
	                            <StoreAdmin:label key="systemVersion.sysVersion" />
	                        </th>
	                        <td width="77%">
	                            ${systemVersion.sysVersion}
	                        </td>
	                    </tr>
                	--%>
                    <tr>
                        <th width="23%">
                            <StoreAdmin:label key="systemVersion.productCode" />
                        </th>
                        <td width="77%">
                            ${systemVersion.productCode}
                        </td>
                    </tr>
                    <tr>
                        <th width="23%">
                            <StoreAdmin:label key="systemVersion.domainName" />
                        </th>
                        <td width="77%">
                            <spring:bind path="systemVersion.domainName">
                                <input name="${status.expression}" type="text" class="form-inputbox"
                                    id="${status.expression}" value="${status.value}" size="50" />
                                <span class="fieldError">${status.errorMessage}</span>
                            </spring:bind>
                        </td>
                    </tr>
                    <tr>
                        <th width="23%">
                            <StoreAdmin:label key="systemVersion.licenseKey" />
                        </th>
                        <td width="77%">
                            <spring:bind path="systemVersion.licenseKey">
                                <input name="${status.expression}" type="text" class="form-inputbox"
                                    id="${status.expression}" value="${status.value}" size="50" />
                                <span class="fieldError">${status.errorMessage}</span>
                            </spring:bind>
                        </td>
                    </tr>
                    <tr>
                        <th width="23%">
                            <StoreAdmin:label key="systemVersion.createTime" />
                        </th>
                        <td width="77%">
                            <spring:bind path="systemVersion.createTime">
                                <span>${status.value}</span>
                            </spring:bind>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <th width="23%">
                            <StoreAdmin:label key="systemVersion.updateTime" />
                        </th>
                        <td width="77%">
                            <spring:bind path="systemVersion.updateTime">
                                <span>${status.value}</span>
                            </spring:bind>
                            &nbsp;
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
</form>
<script type="text/javascript">
    document.forms["systemVersion"].elements["licenseKey"].focus();
</script>

